﻿using System;

namespace _2323._5._5无聊
{
    class Program
    {
        static void Main(string[] args)
        {
            ///移动存储设备类
            //MobileStorage flashdisk_1 = new FalshDisk();
            //MobileStorage mp3_1 = new Mp3();
            //Computer computer_1 = new Computer();
            //computer_1.Read(flashdisk_1);
            //computer_1.Write(flashdisk_1);
            //computer_1.Read(mp3_1);
            //computer_1.Write(mp3_1);
            //((Mp3)mp3_1).PlayMusic();
            //图形类
            Shape rectangle_1 = new Rectangle(10, 10);
            Shape circle_1 = new Circle(2);
            rectangle_1.print();
            circle_1.print();
        }
    }
}
